/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package mnstudent.datatranferobject;

import java.util.ArrayList;
import java.util.Objects;
/**
 *
 * @author lee
 */
public class PriorityObjectDetailDTO {
    
    //<editor-fold defaultstate="collapsed" desc=" Attributes">
    private String m_StudentID;
    private String m_PrioritySubID;
    //</editor-fold>
    
    //<editor-fold defaultstate="collapsed" desc=" Properties">
    public String getStudentID(){ return this.m_StudentID;};
    
    public void setStudentID(String strStudentID){ this.m_StudentID = strStudentID;};
    
    public String getPrioritySubjectID(){ return this.m_PrioritySubID;};
    
    public void setPrioritySubjectID(String strPrioritySubID){ this.m_PrioritySubID = strPrioritySubID; };
   
    //</editor-fold>
    
    //<editor-fold defaultstate="collapsed" desc=" Method">
    public PriorityObjectDetailDTO(){
        
    }
    
    public PriorityObjectDetailDTO(String strStudentID, String strPrioritySubID){
        this.m_PrioritySubID = strPrioritySubID;
        this.m_StudentID = strStudentID;
    }
    
    @Override
    public String toString() {
        return "PrioritySubDetailDTO{" + "m_StudentID=" + m_StudentID + ", m_PrioritySubID=" + m_PrioritySubID + '}';
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 17 * hash + Objects.hashCode(this.m_StudentID);
        hash = 17 * hash + Objects.hashCode(this.m_PrioritySubID);
        return hash;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final PriorityObjectDetailDTO other = (PriorityObjectDetailDTO) obj;
        if (!Objects.equals(this.m_StudentID, other.m_StudentID)) {
            return false;
        }
        if (!Objects.equals(this.m_PrioritySubID, other.m_PrioritySubID)) {
            return false;
        }
        return true;
    }
    //</editor-fold>
}
